package com.sc.nft.config.chain;

import javax.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Slf4j
public class MetaWalletUrlClientInit {

    @Value("${meta_wallet.url:}")
    private String url;

    @Value("${meta_wallet.chain_url:}")
    private String chainUrl;



    @PostConstruct
    public void MetaWalletUrlConfig() throws Exception {
        MetaWalletUrlConfig.URL = url;
        MetaWalletUrlConfig.CHAIN_URL = chainUrl;
    }
}
